package org.luckyjourney.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResidentConsultantDTO implements Serializable {

    @NotBlank(message = "手机号不能为空")
    private String phone;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
}
